<?php
// Header 
$this->left_menu = 'menu/'.$this->params['controller'];
$params = array(
	'root'	=>	$this->params['named']['root']
);
if (isset($this->params['plugin'])) {
	$params['plugin'] = $this->params['plugin'];
} else {
	$params['plugin'] = null;
}
// Load Css
echo $this->element('custom_css', array('action' => 'index'));

// Load Javascript

?>
<style>
.alias {
	font-style:italic;
}
.field_name {
	font-weight:bold;
}
</style>

<div class='right_content'>
<?php 
$module_name = isset($category) ? $category['name'] : $configs['Category']['global']['module_name'];
$plural = isset($category) ? $category['name'] : Inflector::pluralize($configs['Category']['global']['module_name']);
?>
<div class="title_left_sidebar">
	<div class="text_title">
		<?php echo sprintf(__("List All %s", true), $plural)?>
	</div>
	<div class="create_edit">
		<div class="bd_title"></div>
		<div class="item_create">
			<div class="item_menu"><?php echo $html->image('toolbar/add.png', array('alt'=>__('Create New Page',true), 'align'=>'left')) ?></div>
			<div class="category_mn"><a href="<?php echo $html->url($params + array('action'=>'add'))?>" id='add_new_category_link'><?php echo sprintf(__("Create New %s", true), $module_name)?></a></div>
			<div class="clear"></div>
		</div>
		<div class="bd_title"></div>
	</div>
	
</div>
<?php $session->flash()?>
<div class="blank5"></div>

</div>